package org.sixtynine.stock.service;

/**
 * @author Thilan
 *
 */

import java.util.Date;
import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.Banner;

public interface BannerService {

	Banner findById(int id);
	
	void saveBanner(Banner banner);
	
	void deleteBanner(int id);
	
	List<Banner> findBanner(String name);
	
	List<Banner> searchBanner( Date fromDate,
			Date toDate);

	Page<Banner> searchBanner(Date fromDate,
			Date toDate, GridPramDTO gridPramDTO);
	
}
